﻿
@using System.Data;

@using UtilsBase;
@using UtilsCache;

@{
    Layout = null;
    int rows = 0;
}

<!DOCTYPE html>
<html>
<head>
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache" />
    <META HTTP-EQUIV="Expires" CONTENT="0" />
    <meta http-equiv="Cache" content="no-cache">


    <meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" href="/common/css/sapar.css?v=0" />
    <link rel="stylesheet" href="/common/css/index.css?v=0" />


    <title>@UtilAppsettingCache.getSetting("MyWebSite:Name")</title>

</head>
<body>
    @*<input type="button" value="dd" onclick="aa()" />*@

    <input type="hidden" value="@ViewData["Emp_Guid"]" id="hid_emp_guid" name="hid_emp_guid" />
    <div id="container">
        <div id="hd">
            <div class="hd-wrap clearfix">
                <div class="top-light"></div>
                <h1 class="logo"></h1>
                <ul class="main-nav clearfix">


                    @foreach (DataRow item in ((ViewData["DataList"]) as DataTable).Rows)
                    {
                        if (rows == 0)
                        {
                            ViewData["Menu_LinkUrl"] = item["Menu_LinkUrl"] + "&type=0";
                            <li class="current" data-src="@item["Menu_LinkUrl"]"><a href="javascript:;">@(item["Menu_Name"])</a></li>
                        }
                        else
                        {
                            <li data-src="@(item["Menu_LinkUrl"])"><a href="javascript:;">@(item["Menu_Name"])</a></li>
                        }
                        rows = rows + 1;
                    }

                </ul>
                <div class="notice clearfix" style="display:none">
                    <ul class="clearfix">
                        <li class="current"><a href="javascript:;">关于客票行程单打印通知</a></li>
                        <li><a href="javascript:;">关于网银付款升级通知</a></li>
                        <li><a href="javascript:;">关于客票行程单打印通知</a></li>
                    </ul>
                    <div class="notice-btn">
                        <a href="javascript:;" class="prev"></a>
                        <a href="javascript:;" class="next"></a>
                    </div>
                </div>

                <div class="toolbar">
                    <div style="float:left;margin-right:50px;">
                        <div style="margin-top:50px;"></div>
                    </div>

                    <div style="float:left;">
                        <div style="text-align:right;">
                            <div class="login-info clearfix" style="text-align:right">
                        <div class="welcome clearfix"><span>欢迎您&nbsp;&nbsp;@ViewBag.companyName&nbsp;&nbsp;</span><a href="javascript:;" title="@ViewData["Emp_Dep"]" class="user-name">@ViewData["Emp_Name"]</a></div>
                                <div class="login-msg clearfix" style="display:none">
                                    <a href="javascript:;" class="msg-txt">消息</a>
                                    <a href="javascript:;" class="msg-num">10</a>
                                </div>
                            </div>
                        </div>
                        <div class="tool clearfix">

                            <a href="javascript:;" class="pwd-btn pwdchange">修改密码</a>
                            <a href="javascript:;" class="quit-btn exit">返回首页</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div id="bd">
            <div class="wrap clearfix">
                <iframe src="@ViewData["Menu_LinkUrl"]" id="iframe" width="100%" height="100%" frameborder="0"></iframe>
            </div>
        </div>
        <div id="ft" class="clearfix">
            <div class="ft-left">
                <span></span>
                <em>@UtilAppsettingCache.getSetting("MyWebSite:Name")</em>
            </div>
            <div class="ft-right">
                <span></span>
                <em><span id="span_windowbrower" style="color:#eeecec"></span>&nbsp;&nbsp;</em>
            </div>
        </div>
    </div>
    <div class="exitDialog">
        <div class="dialog-content">
            <div class="ui-dialog-icon"></div>
            <div class="ui-dialog-text">
                <p class="dialog-content">你确定要回到首页？</p>
                <p class="tips">如果是请点击“确定”，否则点“取消”</p>

                <div class="buttons">
                    <input type="button" class="button long2 ok" value="确定" />
                    <input type="button" class="button long2 normal" value="取消" />
                </div>
            </div>

        </div>
    </div>

     <div class="PwdChangeDialog" style="display:none">
        <div class="dialog-content">
      
            <div class="">
                <form action="" name="addForm" id="addForm" method="post">
                    <div style="margin-top:20px;margin-left:50px;">
                        <p style="height:35px;"><span style="color:red">*</span>旧密码：<input type="password" id="oldpwd" name="oldpwd" style="margin-left:12px;width:200px;" /> </p>
                        <p style="height:35px;"><span style="color:red">*</span>新密码：<input type="password" id="newpwd" name="newpwd" style="margin-left:12px;width:200px;" placeholder="密码长度至少6位" /> </p>
                        <p style="height:35px;"><span style="color:red">*</span>确认密码：<input type="password" id="newpwd2" name="newpwd2" style="width:200px;" placeholder="密码长度至少6位" /> </p>
                    </div>
                    <div class="buttons" style="margin-left:60px;margin-top:10px">
                        <input type="button" class="button long2 ok" value="确定" style="margin-right:10px;" />
                        <input type="button" class="button long2 normal" value="取消" />
                    </div>
                    </form>
</div>

        </div>
    </div>


    <script type="text/javascript" src="/common/js/jquery.js"></script>
    <script src="/common/js/js?v=@FileServer.Common.VersionNo.VNo"></script>
    <script type="text/javascript" src="/common/js/sapar.js?v=@FileServer.Common.VersionNo.VNo"></script>
    <script type="text/javascript" src="/common/js/index.js?v=@FileServer.Common.VersionNo.VNo"></script>


    <script type="text/javascript" src="~/Content/Menu/Init.js?v=@FileServer.Common.VersionNo.VNo"></script>
    <script type="text/javascript">
        var isChrome = window.navigator.userAgent.toUpperCase().indexOf("CHROME") != -1;
        var isEdge = window.navigator.userAgent.toUpperCase().indexOf("Edge") != -1;
        var isQQ = window.navigator.userAgent.toUpperCase().indexOf("QQBrowser") != -1;
        var is360EE = window.navigator.userAgent.toUpperCase().indexOf("360EE") != -1;


        if ((isChrome || isEdge) && is360EE == false && is360EE == false) {
            //  alert("是Chrome浏览器");


        } else {
            document.getElementById("span_windowbrower").innerText = "温馨提醒：为确保获得最好的操作体验，请使用Google Chrome浏览器或Microsoft Edge浏览器访问本系统";
        }
    </script>

</body>
</html>
